package com.usian.search.feign;

import com.usian.model.behavior.pojos.ApBehaviorEntry;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("leadnews-behavior")
public interface BehaviorFeign {

    @GetMapping("/api/v1/entry/find/{uresId}/{equipmentId}")
    public ApBehaviorEntry findByUserIdOrEquipmentId(@PathVariable Integer uresId, @PathVariable Integer equipmentId);

}